#import "Screen.h"
#import "State.h"
#import "Player.h"
#import "Enemy.h"
#import "CharInfo.h"
#import "Stage.h"
@interface PlayScreen : Screen {
    @private
	double endTime;
	Stage* stage;
	Player* player;
	Enemy* enemy;
	int timer;
	int score;
	int lastResult;
	UIImage* hud;
	UIImage* commandUnknown;
	UIImage* commandRock;
	UIImage* commandScissor;
	UIImage* commandPaper;
	int counter;
	int mainState;
	int stageNr;
    UILabel* text;
	UILabel* score1;
	UILabel* name2;
	UILabel* time;
	UILabel* name;
    

}
- (void) action:(int)x y:(int)y ;
- (int) stateMachine;

- (void) onFinish;

- (void) onCelebrate ;
- (void) onDecide;
- (void) onFight;
- (void) onOne;
- (void) onTwo;
- (void) onThree ;
- (void) onStart;
- (void) drawTime;
- (int) decide:(int)playerCommand eC:(int)enemyCommand;

- (id) initWithFrame:(CGRect)frame withPlayer:(CharInfo*)p at:(int)s;
- (void) initStage:(int)s;

- (void) paintScreen;
- (void) drawHud;
- (void) drawPlayers;
- (void) drawCommands;
- (void) drawText;
- (void) initPlayer:(CharInfo*)p;
@property (retain, nonatomic) Stage* stage;
@property (retain, nonatomic)Player* player;
@property (retain, nonatomic)Enemy* enemy;

@end
